<div class="block">
  <div class="content">
    <div class="inner">
      <h2 class="title"><%= @common_user.nick_name %>の基本情報編集</h2>
      <%= form_for(@common_user,
                   :url => common_user_path,
                   :html => {:class => "form"}) do |f| %>

        <%= render :partial => "shared/errors", :locals => {:obj => @common_user} %>


        <div class="group">
          <%= f.label :nick_name, "ニックネーム：", :class => "label label2" %>
          <%= f.text_field :nick_name, :class => "text_field" %>
        </div>

        <div class="group">
          <%= f.label :login, "ログインID：", :class => "label label2" %>
          <%= f.text_field :login, :class => "text_field" %>
        </div>

        <div class="group">
          <%= f.label :password, "パスワード：", :class => "label label2" %>
          <%= f.password_field :password, :class => "password_field" %>
        </div>

        <div class="group">
          <%= f.label :password_confirmation, "パスワード確認：", :class => "label label2" %>
          <%= f.password_field :password_confirmation, :class => "password_field" %>
        </div>

        <div class="group navform wat-cf">
          <%= f.submit "登録", :class => "button", :confirm => "登録します。よろしいですか？" %>
        </div>
      <% end %>
    </div>
  </div>
</div>
